package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.domain.entity.PaasFormDataEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @author xingxing.xiao
 * @date 2021/02/27 21:22
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class DistributorBaseInfoEntity extends PaasFormDataEntity {
    private static final long serialVersionUID = -5925535878093197450L;
    /**
     * 经销商标识 true 是经销商
     */
    private Boolean distributorFlag;
    /**
     * 经销商用户id
     */
    private Long distributorUserId;
    /**
     * 经销商用户名称
     */
    private String distributorUserName;
    /**
     * 所属经销商id
     */
    private Long distributorId;

    public DistributorBaseInfoEntity(Boolean distributorFlag, Long distributorUserId, String distributorUserName, Long distributorId) {
        this.distributorFlag = distributorFlag;
        this.distributorUserId = distributorUserId;
        this.distributorUserName = distributorUserName;
        this.distributorId = distributorId;
    }
}
